﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json.Linq;

namespace VM.Common.Result
{
    public class JsonObject
    {

        private int _code = 0;
        private string _Result = "";
        //private JArray _Data = new JArray();
        public object _Data = new object();
        public JsonObject()
        {
            _code = 0;
            _Result = "";
            _Data = null;
        }


        /// <summary>
        /// 是否成功
        /// </summary>
        public int code
        {
            set { _code = value; }
            get { return _code; }
        }

        /// <summary>
        /// token
        /// </summary>
        public string token { get; set; }

        /// <summary>
        /// refreshtoken
        /// </summary>
        public string refreshtoken { get; set; }


        /// <summary>
        ///结果
        /// </summary>
        public string msg
        {
            set { _Result = value; }
            get { return _Result; }
        }




        /// <summary>
        ///返回数据
        /// </summary>
        public object Data
        {
            set { _Data = value; }
            get { return _Data; }
        }


    }
}